Gnus: Fix edge cases with no data being returned and Courier eccentricity.
authorMichael Olson <mwolson@gnu.org>
Sat, 3 Jan 2009 23:05:42 +0000 (23:05 +0000)
committerMichael Olson <mwolson@gnu.org>
Sat, 3 Jan 2009 23:05:42 +0000 (23:05 +0000)
commit85e2a7566b49f5742cea89ed730f40f25faace1a
tree0e2a0febebc99d0e0172cc7c3f2929cd7580cfd1
parent9c361fc0d89fa3a2bb15b4dbf51424d1532ec8cf
Gnus: Fix edge cases with no data being returned and Courier eccentricity.

* lisp/gnus/nnimap.el (nnimap-retrieve-headers-progress): Handle edge
  case where `headers' is nil.  This can occur if the IMAP server does
  not have permissions to read messages from a folder, but can write new
  messages to the folder.
  (nnimap-request-article-part): Do not insert `data' if it is nil.

* lisp/net/imap.el (imap-parse-fetch): Courier can insert spurious blank
  characters which will confuse `read', so skip past them.
lisp/gnus/nnimap.el
lisp/net/imap.el